package com.csi.service.impl;

import com.csi.domain.TravelAttraction;
import com.csi.mapper.TravelAttractionMapper;
import com.csi.service.TravelAttractionService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public class TravelAttractionServiceImpl implements TravelAttractionService {

    @Autowired
    private TravelAttractionMapper travelAttractionMapper;

    @Override
    public List<TravelAttraction> list() {
        return travelAttractionMapper.list();
    }
}
